/*
 * @Descripttion:
 * @version:
 * @Author: congsir
 * @Date: 2025-11-02 22:39:13
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2025-11-13 23:41:58
 */
import styled from 'styled-components'
import sprite_01 from '@/assets/img/sprite_01.png'
export const HeaderWrapper = styled.div`
  height: 70px;
  background-color: #242424;
  font-size: 14px;
  color: #fff;

  .content {
    display: flex;
    justify-content: space-between;
    /* ${(props) => (props.theme as any).mixin.wrapv1}//(props.theme as any) */
  }
  .divider {
    height: 5px;
    background-color: #c20c0c;
  }
`
export const HeaderLeft = styled.div`
  display: flex;

  .logo {
    display: block;
    width: 176px;
    height: 70px;
    background-position: 0 0;
    text-indent: -9999px;
  }
  .title-list {
    display: flex;
    line-height: 70px;
    .item {
      position: relative;

      a {
        display: block;
        padding: 0 20px;
        color: #ccc;
      }
      :last-of-type a {
        position: relative;
        ::after {
          position: absolute;
          content: '';
          width: 28px;
          height: 19px;
          background-image: url (${sprite_01});
          background-position: -190px 0;
          top: 20px;
          right: -15px;
        }
      }
      &:hover a,
      .active {
        color: #fff;
        background: #000;
        text-decoration: none;
      }
    }
  }
`
export const HeaderRight = styled.div`
  display: flex;
  align-items: center;
  color: #787878;
  font-size: 12px;
  > .search {
    width: 158px;
    height: 32px;
    border-radius: 16px;
    input {
      &::placeholder {
        font-size: 12px;
      }
    }
  }
  .center {
    width: 90px;
    height: 32px;
    line-height: 32px;
    margin: 0 16px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 16px;
    color: #ccc;
    cursor: pointer;

    :hover {
      color: #fff;
      border-color: #fff;
    }
  }
`
